#ifndef ROLLINGCALENDAR_H
#define ROLLINGCALENDAR_H

#include <QWidget>
#include <QGraphicsDropShadowEffect>

namespace Ui {
class RollingCalendar;
}

class RollingCalendar : public QWidget
{
    Q_OBJECT

public:
    explicit RollingCalendar(QWidget *parent = nullptr);
    ~RollingCalendar();

public slots:
    void CurrentValueChanged(int value);

private:
    Ui::RollingCalendar *ui;
    int updateDayRange;
    int maxDayRange();

    int currYear;
    int currMonth;
    int currDay;
    int currHour;
    int currMinute;
    int currSecond;
};

#endif // ROLLINGCALENDAR_H
